<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<link href="style.css" rel="stylesheet" type="text/css">
<link href="inside.css" rel="stylesheet" type="text/css">
<link href="member.css" rel="stylesheet" type="text/css">
<title>高級管理員專區</title>
<script Language="JavaScript">
function selects() 
{		
	var pro =document.getElementById("pro").value;
	$.ajax(
		{
			type: "GET",
			url: "selecthome.php",
			data: "id="+pro,
			success: function(msg)
			{ 
			 $("#test1").html(msg);;
			}
		}
	);
}
</script>
</head>

<body>
<div id="container">
<!--header-->
<{include file="./header.html"}>   
<!--header-->

<!--menu-->
<{include file="./menu.html"}> 
<!--menu-->

<div class="main2">

	<{include file="./left.html"}>   

    <div id="right">
      <div style="margin-top:11px;">
        <DIV class=memberlist>
          <UL>
            <LI class=blue>
              <DIV class=un onMouseOver="this.className='';" 
  onclick="document.location='?op=Y';" 
  onmouseout="this.className='un';">高級管理員專區</DIV>
            <LI class=list>
              <TABLE width=728 border=0>
                <form action="adminlist.php" method="post">
                  <TBODY>
                    <TR>
                      <TD height="50" style="line-height:25px;">                      
                      <select name="pro" size="1" id="pro"  onChange="selects()"  style="width:120px;">
                          <option value="">請選擇縣市</option>
                          <{section name=key loop=$row4 start=0 max=100 step=1}>
                             <option value="<{$row4[key].cate_id}>"><{$row4[key].zh_cate_title}></option>
                           <{/section}>
                      </select>
                      <span id="test1">
                      <select name="city" style="width:120px;">
                       <option value="">請選擇區域</option>
                      </select>
                      </span>
                      <select name="type" style="width:120px;">
                        <option value="">請選擇物件類型</option>
                        <{$typeaa}>
                      </select>
                      
                       <select name="hou_type" style="width:120px;">                        
                        <option value="1">租屋</option>
                        <option value="2">賣屋</option>
                        <option value="3">頂讓</option>                       
                      </select>
                      
                      <select name="price" style="width:120px;">
                        <option value="">租金不限</option>
                        <option value="5000">5000元</option>
                        <option value="8000">5000-8000元</option>
                        <option value="312000">8000-12000元</option>      
                         <option value="15000">12000-15000元 </option>
                        <option value="20000">12000-20000元</option>
                        <option value="30000">20000-30000元</option>      
                         <option value="50000">30000-50000元</option>
                        <option value="50001">50000元以上</option>                                     
                      </select>
                      
                      
                     
                      <div style="width:100%; line-height:40px; height:40px;">
                   物件編號搜尋:<input type="text" value="" size="8" name="num" class=txtbox>
                    地址路名:<input type="text" value="" size="8" name="address" class=txtbox>
                    大樓案名:<input type="text" value="" size="8" name="hou_name" class=txtbox>
                        <input class=txtbox name="submit" type="submit" value="搜索"></div></TD>
                    </TR>
                  </TBODY>
                </form>
              </TABLE>
              <TABLE class=blue cellSpacing=0 cellPadding=5 width=728 border=0  >
                <TBODY>
                  <TR class=bluetitle>
                    <TD width=63 height="30">房屋編號</TD>
                    <TD width=163>大樓案名</TD>
                    <TD width=314>地址</TD>
                    <TD width=47>詳細</TD>
                    <TD width=101>發布時間</TD>
                  </TR>
                <{section name=key loop=$row1 start=0 max=20 step=1}>
                <TR class="" onMouseOver="this.className='blue'" 
    onmouseout="this.className='';">
                  <TD height="23"><a href="goods.php?id=<{$row1[key].id}>" target=_blank><{$row1[key].num}></a></TD>
                  <TD><a href="goods.php?id=<{$row1[key].id}>" target=_blank><{$row1[key].hou_name}></a></TD>
                  <TD><a href="goods.php?id=<{$row1[key].id}>" target=_blank><{$row1[key].address}></a></TD>
                  <TD><A href="admin_info.php?id=<{$row1[key].id}>" target=_blank><IMG height=18 src="images/but_up.gif" width=30 border=0></A></TD>
                  <TD><{$row1[key].ADDTIME}></TD>
                </TR>
                <{/section}>
                <tr>
                  <td colspan="5" align="center" height="22"><{$page_string}></td></tr>
                  </TBODY>
               </TABLE>
            </LI>
          </UL>
          <P class=sep></P>
        </DIV>
      </div>
    </div>


</div>
<!--foot-->
<{include file="./footer.html"}> 
<!--foot-->
</div>
</body>
</html>
